package commonAdmin.dao;

import commonAdmin.domain.Page;
import commonAdmin.domain.WebPageSearchCondition;

/**
*
* @author dw_chenqi
* @date 2016年2月19日上午10:52:34
*/
public interface BaseDao<Domain, ID> {

	public ID add(Domain domain);

	public boolean delete(ID id);

	public boolean update(Domain domain);

	public Domain get(ID id);

	public Page<Domain> queryForPage(WebPageSearchCondition<Domain> searchCondition, Page<Domain> page);
}
